import dayjs from "dayjs";
export const menDimissionColumns = [
    {
        prop: "dwMenId",
        label: "客户人员Id",
        width: "100px",
    },

    {
        prop: "leaveTime",
        label: "离职日期",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "leaveReason",
        label: "离职原因",
        width: "80px",
    },

    {
        prop: "gjjEndTime",
        label: "公积金终止年月",
        width: "140px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "compensation",
        label: "经济补偿金",
        width: "100px",
    },

    {
        prop: "ybEndTime",
        label: "医疗终止年月",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "sbEndTime",
        label: "社保终止年月",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "sybxEndTime",
        label: "商业保险终止年月",
        width: "160px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "cbjEndTime",
        label: "残保金终止年月",
        width: "140px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "fwEndTime",
        label: "服务费截止年月",
        width: "140px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "importantNote",
        label: "办理注意事项",
        width: "120px",
    },
    {
        prop: "compensationMonthCount",
        label: "补偿金月数",
        width: "100px",
    },
    {
        prop: "memo",
        label: "备注",
        width: "40px",
    },
    {
        prop: "makerStaffId",
        label: "操作员ID",
        width: "80px",
    },
    {
        prop: "makerStaffTruename",
        label: "操作员姓名",
        width: "100px",
    },
    {
        prop: "unemploymentNumber",
        label: "失业登记书号",
        width: "120px",
    },

    {
        prop: "blRq",
        label: "办理日期",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "blState",
        label: "办理状态",
        width: "80px",
    },

    {
        prop: "repYm",
        label: "减少报表年月",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "sbState",
        label: "减少社保申报状态",
        width: "160px",
    },

    {
        prop: "sbTime",
        label: "减少申报时间",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "sbMemo",
        label: "减少申报反馈",
        width: "120px",
    },

    {
        prop: "gjjRepYm",
        label: "公积金减少申报年月",
        width: "180px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "gjjState",
        label: "公积金减少状态",
        width: "140px",
    },

    {
        prop: "gjjTime",
        label: "公积金减少申报时间",
        width: "180px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "gjjMemo",
        label: "公积金减少反馈",
        width: "140px",
    },

    {
        prop: "ybRepYm",
        label: "医保减少年月",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "ybState",
        label: "医保减少申报状态",
        width: "160px",
    },

    {
        prop: "ybTime",
        label: "医保减少申报时间",
        width: "160px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "ybMemo",
        label: "医保申报反馈",
        width: "120px",
    }
];
